package lab02.test6;

/**
 * Created by dell on 2017/10/15.
 */
public class ladder {
        //属性：上底，下底，高，面积

        double upSide;
        double downSide;;
        double high;
        //行为：计算面积

        double area(){
            return (float) (((upSide + downSide) * high)/2);
        }

}
